<!-- inc:head -->
<script type="text/javascript" src="js/media.js"></script>
<div id="body">
	<div id="left">
		<!-- run:$left_catelist = phpok('catelist','cid='.$rs[cate_id]) -->
		<ul class="border catelist">
			<!-- $left_catelist[rslist] AS $key=>$value -->
			<li>&nbsp;<img src="images/default/catepre.gif" align="absmiddle"> <a href="{:site_url('list','cid='.$value[id])}"{if($value[id] == $rs[cate_id])} style="color:red;"{end}>{:$value[cate_name]}</a></li>
			<!-- end -->
		</ul>
		<div class="space"></div>
		<div id="user_cp"><div class="loading"></div></div>
		<div class="block-title" style="margin-top:5px;">推荐主题</div>
		<div class="block-msg">
			<ul>
				<!-- run:$list = phpok('list','cid='.$rs[cate_id]) -->
				<!-- $list[rslist] AS $key=>$value -->
				<li style="padding-left:40px;"><a href="{:site_url('msg','id='.$value[id])}"{if($value[id] == $rs[id])} style="color:red;"{end}>{:$value[title]}</a></li>
				<!-- end -->
				<!-- run:unset($list) -->
			</ul>
		</div>
		<!-- inc:incsearch -->
	</div>
	<div id="right">
		<div class="block-title">详细信息</div>
		<div class="block-msg">
			<h1 class="subject">{:$rs[title]}</h1>
			<div class="date">发布时间：{:date("Y-m-d",$rs[post_date])} &nbsp; 点击率：{:$rs[hits]}</div>
			<div class="content">{:$rs[content]}</div>
			<!-- run:$np_list = phpok_next_prev($rs[id],$rs[cate_id]) -->
			<!-- if($np_list) -->
			<div>
				<table width="100%">
				<!-- $np_list[next] AS $key=>$value -->
				<tr>
					<td>下一主题：<a href="{:msg_url($value)}" title="{:$value[title]}">{:$value[title]}</a></td>
				</tr>
				<!-- end -->
				<!-- $np_list[prev] AS $key=>$value -->
				<tr>
					<td>上一主题：<a href="{:msg_url($value)}" title="{:$value[title]}">{:$value[title]}</a></td>
				</tr>
				<!-- end -->
				</table>
			</div>
			<!-- end -->
			<!-- run:unset($np_list) -->
			<div id="reply_hits" style="display:none;"></div>
		
		</div>
		<div id="reply_message"></div>
	</div>
	<div class="space clear"></div>
</div>
<input type="hidden" id="clicked_val" value="您已经点击过了，请不要重复点击" />
<script type="text/javascript">
func_php("usercp",js_usercp,"user_cp");
func_php("reply&id={:$rs[id]}",js_reply,"reply_message");
func_php("digg&type=normal&id={:$rs[id]}",js_show_digg,"reply_hits");
</script>
<!-- inc:foot -->